package com.keshan.pojo.push;

import java.util.Arrays;
import java.util.Date;

/**
 * 推送管理对象 push_history
 *
 * @author TangZheng
 * @date 2022-12-03
 */
public class PushHistory {
    /**
     * id
     */
    private Long id;

    /**
     * App用户
     */
    private Long mdUserId;

    /**
     * 模板
     */
    private Long pushTemplateId;

    /**
     *
     */
    private Long creator;

    /**
     * 状态
     */
    private Long status;

    /**
     * （批量）插入时接收参数
     */
    private Long[] mdUserIds;

    private String mdUserRealName;
    private String mdUserName;
    private String pushTemplateName;
    private String creatorName;

    private Date createTime;

    private String imgUrl;

    private String content;
    private String templateType;

    public String getTemplateTypeName() {
        return templateTypeName;
    }

    public void setTemplateTypeName(String templateTypeName) {
        this.templateTypeName = templateTypeName;
    }

    private String templateTypeName;
    private String shortContent;
    private String title;

    private String templateDictType;

    public String getTemplateDictType() {
        return templateDictType;
    }

    public void setTemplateDictType(String templateDictType) {
        this.templateDictType = templateDictType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTemplateType() {
        return templateType;
    }

    public void setTemplateType(String templateType) {
        this.templateType = templateType;
    }

    public String getShortContent() {
        return shortContent;
    }

    public void setShortContent(String shortContent) {
        this.shortContent = shortContent;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    private String[] createTimeRange;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getMdUserName() {
        return mdUserName;
    }

    public void setMdUserName(String mdUserName) {
        this.mdUserName = mdUserName;
    }

    public String[] getCreateTimeRange() {
        return createTimeRange;
    }

    public void setCreateTimeRange(String[] createTimeRange) {
        this.createTimeRange = createTimeRange;
    }

    public String getMdUserRealName() {
        return mdUserRealName;
    }

    public void setMdUserRealName(String mdUserRealName) {
        this.mdUserRealName = mdUserRealName;
    }

    public String getPushTemplateName() {
        return pushTemplateName;
    }

    public void setPushTemplateName(String pushTemplateName) {
        this.pushTemplateName = pushTemplateName;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setMdUserId(Long mdUserId) {
        this.mdUserId = mdUserId;
    }

    public Long getMdUserId() {
        return mdUserId;
    }

    public void setPushTemplateId(Long pushTemplateId) {
        this.pushTemplateId = pushTemplateId;
    }

    public Long getPushTemplateId() {
        return pushTemplateId;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    public Long getCreator() {
        return creator;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    public Long[] getMdUserIds() {
        return mdUserIds;
    }

    public void setMdUserIds(Long[] mdUserIds) {
        this.mdUserIds = mdUserIds;
    }

    @Override
    public String toString() {
        return "PushHistory{" +
                "id=" + id +
                ", mdUserId=" + mdUserId +
                ", pushTemplateId=" + pushTemplateId +
                ", creator=" + creator +
                ", status=" + status +
                ", mdUserIds=" + Arrays.toString(mdUserIds) +
                ", mdUserRealName='" + mdUserRealName + '\'' +
                ", pushTemplateName='" + pushTemplateName + '\'' +
                ", creatorName='" + creatorName + '\'' +
                ", createTimeRange=" + Arrays.toString(createTimeRange) +
                '}';
    }
}
